package org.oexam.ostudy.struct;

import javax.persistence.Entity;
import javax.persistence.Id;

@Entity
public class Users {


	@Id 
	private int user_id; // Primary key.

	private String user_name;
	private String password;
	private boolean isActive;
	private int user_type; // Foreign key referring to the User_types table;

	
	public int getUser_id() {
		return user_id;
	}
	public void setUser_id(int user_id) {
		this.user_id = user_id;
	}
	
	
	public String getUser_name() {
		return user_name;
	}
	public void setUser_name(String user_name) {
		this.user_name = user_name;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public boolean isActive() {
		return isActive;
	}
	public void setActive(boolean isActive) {
		this.isActive = isActive;
	}
	public int getUser_type() {
		return user_type;
	}
	public void setUser_type(int user_type) {
		this.user_type = user_type;
	}
	
	
	
}
